import * as echarts from 'echarts/core';
import { LineChart, PieChart } from 'echarts/charts';
import { UniversalTransition } from 'echarts/features';
import { CanvasRenderer } from 'echarts/renderers';
import {
    GridComponent,
    TooltipComponent,
    LegendComponent,
    TitleComponent,
    PolarComponent
} from 'echarts/components';

echarts.use([

    LineChart,
    PieChart,

    CanvasRenderer,
    UniversalTransition,

    TooltipComponent,
    LegendComponent,
    GridComponent,
    TitleComponent,
    PolarComponent
]);

export default echarts;


